package cn.doitedu;

public class 引用变量赋值 {
    public static void main(String[] args) {

        StudentInfo s1 = new StudentInfo(10, 20, 30, 40);
        StudentInfo s2 = new StudentInfo(100, 200, 300, 400);


        s1 = s2;

        System.out.println(s1.chineseScore);
        System.out.println(s2.chineseScore);

    }
}
